﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace DataBinding
{
    class User
    {
        public string userName;
        public string UserName
        {
            set { userName = value; }
            get { return userName; }
        }

        public string password ;
        public string Password 
        {
            set { password = value; }
            get { return password; }
        }

        public List<string> loginType;
        public List<string> LoginType 
        { set { loginType = value; }
            get { return loginType; }
        }

        public User()
        {
            UserName = "Tom";
            Password = "123";
            LoginType = new List<string>();
            LoginType.Add("WeChat");
            LoginType.Add("QQ");
            LoginType.Add("CellPhone number");
        }
    }
}
